package controllers

import (
	"github.com/astaxie/beego"
)

type MainController struct {
	beego.Controller
}


// Index ...
// @Title Get One
// @Description get Task by id
// @Param	id		path 	string	true		"The key for staticblock"
// @Success 200 {object} models.Task
// @router /index [get]
func (c *MainController) Get() {
	c.Data["Website"] = "beego.me"
	c.Data["Email"] = "astaxie@gmail.com"
	c.TplName = "index.html"
}

type ArgsController struct {
	beego.Controller
}

func (c *ArgsController) Get() {
	c.Data["args"] = c.Ctx.Input.Param(":path")
	c.TplName = "args.html"
}


